﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Dukou.Search
{
    /// <summary>
    /// 
    /// </summary>
    [Serializable]
    public class TermValueSearchFilter : ISearchFilter
    {
        public TermValueSearchFilter(string filterName, object value)
        {
            this.FilterName = filterName;
            this.Value = value;
        }

        /// <summary>
        /// 获取 / 设置 数值取值
        /// </summary>
        public object Value { get; set; }

        #region ISearchFilter 成员

        /// <summary>
        /// 获取 过滤名称
        /// </summary>
        public string FilterName { get; protected set; }

        #endregion
    }
}